colorized progress bar python in console

45

colorized progress bar python in console -

import log21, time

# You can use some arguments to customize your progress bar
# For example, you can pass a dictionary as `colors` to customize
# progress bar colors
pb = log21.ProgressBar()
for i in range(500):
    pb(i + 1, 500)
    time.sleep(0.01)

# |█████████████████████████████████████████| 100%
    

Comments

Submit
0 Comments